<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core" xmlns:c="http://java.sun.com/jstl/core"	
					xmlns:a4j="http://richfaces.org/a4j"
				xmlns:rich="http://richfaces.org/rich"
				xmlns:h="http://java.sun.com/jsf/html">


<h:form>
	<rich:toolBar>
	<rich:dropDownMenu id="menuMain" value="File">
		<rich:menuItem  submitMode="none" onclick="document.location.href='building.jsf'">
			<h:outputText style="text-align:left" value="Buildings"/>
		</rich:menuItem>
		<rich:menuItem submitMode="none" onclick="document.location.href='room.jsf'">
			<h:outputText value="Rooms" />
		</rich:menuItem>
		<rich:menuItem submitMode="none" onclick="document.location.href='bed.jsf'">
			<h:outputText value="Beds" />
		</rich:menuItem>
		<rich:menuItem submitMode="none" onclick="document.location.href='exit.jsf'">
			<h:outputText value="Check Out" />
		</rich:menuItem>
		<rich:menuItem submitMode="none" onclick="document.location.href='admission.jsf'">
			<h:outputText value="Check In" />
		</rich:menuItem>
		<rich:menuItem submitMode="none" onclick="document.location.href='generateId.jsf'">
			<h:outputText value="Generate ID" />
		</rich:menuItem>
		<rich:menuItem submitMode="none" onclick="document.location.href='payment.jsf'">
			<h:outputText value="Payments" />
		</rich:menuItem>
		<rich:menuItem submitMode="none" onclick="document.location.href='dailyRevenue.jsf'">
			<h:outputText value="Daily Revenue" />
		</rich:menuItem>
		<rich:menuItem submitMode="none" onclick="document.location.href='dailyDepositAndRefund.jsf'">
			<h:outputText value="Daily Deposit and Refund" />
		</rich:menuItem>
				<rich:menuItem submitMode="none" onclick="document.location.href='roomOccupancy.jsf'">
			<h:outputText value="Room Occupancy" />
		</rich:menuItem>
		<rich:menuItem submitMode="none" onclick="document.location.href='patient.jsf'">
			<h:outputText value="Patients" />
		</rich:menuItem>
	</rich:dropDownMenu>
	<rich:dropDownMenu id="menuPref" value="Preferences">
		<rich:menuItem submitMode="ajax" onclick="document.location.href='Preferences.jsf'">
			<h:outputLink value="Preferences.jsf">
				<h:outputText value="Password Manager"></h:outputText>
			</h:outputLink>
		</rich:menuItem>
	</rich:dropDownMenu>
	
</rich:toolBar>
</h:form>
</html>